package com.umxwe.kill.order.service.impl;

import com.umxwe.kill.order.domain.OrderInfo;
import com.umxwe.kill.order.mapper.OrderInfoMapper;
import com.umxwe.kill.order.service.OrderInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderInfoServiceImpl implements OrderInfoService {

    @Autowired
    private OrderInfoMapper orderInfoMapper;

    @Override
    public String sayHi() {
        return "hi .I am order service";
    }

    @Override
    public OrderInfo getDomain(String name) {
        return orderInfoMapper.selectTest(name);
    }


}
